package com.carrental.api.ums.domain.bo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.carrental.common.core.validate.AddGroup;
import com.carrental.common.core.validate.EditGroup;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.carrental.common.core.domain.BaseEntity;

/**
 * 会员信息业务对象 ums_user
 *
 * @author liangyi
 * @date 2022-03-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("会员信息业务对象")
public class UmsUserBo extends BaseEntity {

    @TableId(value = "user_id")
    private Long userId;
    /**
     * 密码
     */
    @JsonIgnore
    @JsonProperty
    @ApiModelProperty(value = "密码")
    private String password;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    private String realName;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "昵称")
    private String userName;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String telephone;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;

    /**
     * 性别0男，1女，3保密
     */
    @ApiModelProperty(value = "性别0男，1女，3保密")
    private Integer sex;

    /**
     * 身份证号码（实名）
     */
    @ApiModelProperty(value = "身份证号码（实名）")
    private String idCardNumber;

    /**
     * 驾驶证
     */
    @ApiModelProperty(value = "驾驶证")
    private String driverLicense;

    /**
     * 头像
     */
    @ApiModelProperty(value = "头像")
    private String avatar;

    /**
     * 是否封禁
     */
    @ApiModelProperty(value = "是否封禁")
    private Integer isEnabled;


}
